﻿#pragma once

#include "../MonsterObject.h"
#include "../../MirDatabase/MonsterInfo.h"
#include <vector>
#include <any>

using namespace Server::MirDatabase;
using namespace Server::MirEnvir;
namespace S = ServerPackets;

namespace Server::MirObjects::Monsters
{
    class TucsonGeneral : public MonsterObject
    {
    protected:
        virtual unsigned char getAttackRange() const;

    private:
        long long _RageTime = 0;

        static constexpr int _RockCount = 15;

    protected:
        TucsonGeneral(MonsterInfo *info);

        bool InAttackRange() override;

        void Attack() override;

        void CompleteAttack(std::vector<std::any> &data) override;

        void ProcessTarget() override;
    };
}
